# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-boltons
pkgver=20.2.1
pkgrel=0
pkgdesc="Bolted-on functionality for python3"
url="https://github.com/mahmoud/boltons"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="$pkgname-$pkgver.tar.gz::https://github.com/mahmoud/boltons/archive/$pkgver.tar.gz"
builddir="$srcdir/boltons-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="16c9e0b1b458f565ad5eb8493cdcfb41240f1b0918ede774299aec9cd616b3f3481b381b0e70bb8de00221eb3c0261c50dc264914e2249803100110c2161983c  py3-boltons-20.2.1.tar.gz"
